Skip to content

Conversation

swordmaster2k
Copy link
Contributor

Fix for #2402

To test simply create a series of tabs with content you want to replace, select a tab to the right of the first tab. Go to Edit->Find, enter text to replace and what to replace it with, select Search all Sketch Tabs, then press Replace All.

Result: search will start from the first tab and precede along the list.

…t tab.

Signed-off-by: swordmaster2k <b00056835@student.itb.ie>
all files.

Signed-off-by: swordmaster2k <b00056835@student.itb.ie>
@ffissore
Copy link
Contributor

@ArduinoBot build this please

@per1234
Copy link
Collaborator

per1234 commented Mar 12, 2015

FWIW I've been using this build on a daily basis for a couple weeks now with no problems. Thank you swordmaster2k for this important fix! I hope it will be merged soon. Per

@per1234
Copy link
Collaborator

per1234 commented Mar 29, 2015

@ffissore is there anything you can do to get this merged? This bug was introduced to the IDE 2014-10-01, I reported it 2014-11-02, swordmaster2k fixed the bug 2015-02-16. Since then there have been two IDE versions released and still the bug is there. I am inconvenienced by this issue at least once a week(even though I know about it I still forget). I'm sure I'm not the only one. This is a very serious bug with a very simple fix. There is no reason it should still be in the IDE.

@matthijskooijman
Copy link
Collaborator

I can't speak for Federico, but I can review this PR. The code looks ok to me, though I haven't looked in detail.

The commit messages and structure can use a bit of improvement, though. Ideally, there would be just one commit with the fix, instead of having the fix spread out over two commits, with a merge in between. It is accepted and encouraged to amend, rebase and/or force-push a branch in your own repository, when that branch forms the basis of a pullrequest.

The resulting single commit should furthermore start with a short summary of what was changed. "Fix for #sombugnumber" isn't really helpful here - commit messages should be self contained. "Start search and replace all from first tab" would be better first line. The subsequent lines could detail the problem and solution, and include a "Closes #2402" line to reference the bugreport.

Could update your PR with the above suggestions?

@per1234
Copy link
Collaborator

per1234 commented Apr 12, 2015

@swordmaster2k do you have any plans to update your PR in accordance with matthijskooijman's recommendations? I'm willing to give it a try, but don't want to hijack your work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants